<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@attribute name="title" required="true" rtexprvalue="true"%>
<jsp:include page="/WEB-INF/pages/xhtml-header.jsp"/>
<head>
<jsp:include page="/WEB-INF/pages/head.jsp"/>
<title><c:out value="${title}" escapeXml="true"/></title>
</head>
<body>
<div class="wholePage">
<jsp:include page="/WEB-INF/pages/banner.jsp"/>
<div class="mainBody">
<c:if test="${not empty messages }">
<div class="messages">
<c:forEach var="msg" items="${messages}">
<div class="message-${msg.level} }"><c:out value="${msg.text}" escapeXml="true"/></div>
</c:forEach>
</div>
</c:if>
<h1 class="mainTitle"><c:out value="${title}" escapeXml="true"/></h1>